package cn.echo.modules.sys.dao;

import cn.echo.modules.sys.entity.Category;
import cn.echo.modules.sys.entity.Site;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * Created by 原 on 2017/4/13.
 */
@Repository
public interface CategoryMapper {

    public boolean insert(Category category);

    public List<Category> findAll(Category category);

    public Category findByIdReturnByResultMap(Category category);

    public Category findById(Category category);

    public boolean deleteById(Category category);

    public  boolean  update(Category category);


}
